package com.yuanfengerp.customerexpenses.service;

import com.yuanfengerp.customerexpenses.model.CustomerExpensesInfo;
import com.yuanfengerp.publicUtil.Result;
import org.apache.ibatis.annotations.Param;
//import io.lettuce.core.dynamic.annotation.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface ICustomerExpensesService {
    Result<String> batchdelete(ArrayList<String> customer_expenses_IDs);

    Result<String> batchreview(ArrayList<String> customer_expenses_IDs);

    Result<String> deleteByPrimaryKey(String customer_expenses_ID);

    Result<String> updateCustomerExpenses(CustomerExpensesInfo customerExpensesInfo);

    Result<String> insertCustomerExpenses(CustomerExpensesInfo customerExpensesInfo);

    Result<List<CustomerExpensesInfo>> selectAllCustomerExpenses(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum);


    Result<List<CustomerExpensesInfo>> selectCustomerExpenses(Map<String, Object> params);


    Result<List<CustomerExpensesInfo>> selectCustomerExpensesItems(String customer_expenses_ID);
}
